﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IOA.MES.Client.Models.Response
{
    public class GetWorkOrderLabelsResponse
    {
        /// <summary>
        /// 组件条码
        /// </summary>
        public string BarCode { get; set; }

        /// <summary>
        /// 标签列表
        /// </summary>
        public List<Label> Labels = new List<Label>();
    }

    public class Label
    {
        /// <summary>
        /// 标签名称
        /// </summary>
        public string LabelName { get; set; }

        /// <summary>
        /// 标签文件
        /// </summary>
        public string LabelFile { get; set; }

        /// <summary>
        /// 数据库表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 标签数据
        /// </summary>
        public List<KeyValuePair<string, string>> LabelData { get; set; } = new List<KeyValuePair<string, string>>();
    }
}
